package com.ysxsoft.wdg.bean.response;

import java.util.List;

public class HomeVideoBean {


    /**
     * code : 200
     * ms : 成功
     * data : [{"id":4,"title":"一","content":"<p>大师大会上<br/><\/p>","hit":"3","addtime":1528796921,"pic":"2"}]
     */

    private String code;
    private String ms;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMs() {
        return ms;
    }

    public void setMs(String ms) {
        this.ms = ms;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {

        /**
         * id : 4
         * title : 一
         * content : <p>大师大会上<br/></p>
         * hit : 3
         * addtime : 1528796921
         * pic : 2
         */
        private int id;
        private String title;
        private String content;
        private String hit;
        private String addtime;
        private String pic;
        private String name;
        private String avatar;

        public DataBean( String title, String content, String hit, String pic) {
            this.title = title;
            this.content = content;
            this.hit = hit;
            this.pic = pic;
        }

        public DataBean() {
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getHit() {
            return hit;
        }

        public void setHit(String hit) {
            this.hit = hit;
        }

        public String getAddtime() {
            return addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getName() {
            return name == null ? "" : name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAvatar() {
            return avatar == null ? "" : avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }
    }
}
